package com.sc.auction.common.exception;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class AuctionException extends Exception {
    @ApiModelProperty("错误状态码")
    private Integer code;
    @ApiModelProperty("错误信息")
    private String message;
}
